var mongoose = require("./connect");
var Schema = mongoose.Schema
var paySchema =new Schema({
    name:String,   //姓名
    rID:Number,  //房间号
    payment:String,//支付方式
    money:Number,//支付金额
})
var payModel = mongoose.model('pay',paySchema) //定义一个操作对应表的，模型对象

module.exports = payModel